from django.db import models

# Create your models here.


class Goods_info(models.Model):
    g_name = models.CharField(max_length=16)
    g_img_src = models.CharField(max_length=256)
    g_now_price = models.IntegerField(default=0)
    g_old_price = models.IntegerField(default=0)
    g_text_infos = models.TextField()  # 用^分开四条不同的字段
    g_rank_info = models.CharField(max_length=32)